package cn.stylefeng.guns.modular.business.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalTime;
import java.util.List;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author generator
 * @since 2024-07-11
 */
@Data
@Accessors(chain = true)
@TableName("tb_sample_data")
public class SampleData extends BaseEntity implements Serializable  {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    private String name;

    private LocalDate date;

    private LocalTime time;

    /**
     * 类型
     */
    private String samplesType;

    /**
     * ketwords
     */
    private String samplesKeywords;

    private Integer samplesAmount;

    private String storageLocation;

    private String conditionText;

    private String fileAddress;

    @TableField(exist = false)
    private String qrBase64;

    @TableField(exist = false)
    private List<SampleStorageLocation> storageLocationList;
}
